<?php include(APPLICATION_PATH.'modules/fw-user/views/scripts/common/navigation.phtml'); ?>
<h2 class="title">Cadastrados</h2>
<table>
	<thead>
		<tr class="box">
			<td>Nome</td>
			<td>Status</td>
			<td></td>
		</tr>
	</thead>
	<tfooter></tfooter>
	<tbody>
		<?php foreach($this->list_user as $list_user) : ?>
			<tr>
				<td><?php echo $list_user['name']; ?></td>
				<td><?php if($list_user['user_status'] == 'Y') { ?>Ativado<?php } else { ?>Desativado<?php } ?></td>
				<td>
					<a href="<?= $this->url(array('action'=>'edit','user_id'=>$list_user['id'])) ?>">Editar</a> | <a href="<?= $this->url(array('action'=>'delete','user_id'=>$list_user['id'])) ?>">Excluir</a>
				</td>
			</tr>
		<?php endforeach; ?>
	</tbody>
</table>